<?php
return [
    'auth_menu' => [
        [
            //父级id
            'pid'   => 18,
            //菜单名称
            'title' => '邮件设置',
            //图标
            'icon'  => 'layui-icon-email',
            //类型：0=目录；1=菜单
            'type'  => 1,
            //地址url
            'node'  => '/app/email/email',
            //排序（越小越靠前）
            'sort'  => 100
        ]
    ],
    'auth_rule' => [
        [
            'type'    => 1,
            'node'    => '/app/email/email',
            'title'   => '邮件设置',
            'is_auth' => 1,
        ],
        [
            'type'    => 2,
            'node'    => '/app/email/email/insertTemplate',
            'title'   => '新增模板',
            'is_auth' => 1,
        ],
    ]
];
